package io.renren.modules.question.dto.input;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author liangbaigao
 * @Date 2022/10/7 16:15
 */
@Data
public class UpdateScoreInput {

    /**
     * 选项id
     */
    @NotNull
    @ApiModelProperty(value = "选项id",required = true)
    private Long optionId;

    /**
     * 选项id
     */
    @NotNull
    @ApiModelProperty(value = "选项新的分数 必须大于0",required = true)
    private Double score;

}
